package com.antdesignbackend.backend.activiti.reviewer.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 配置审批人
 *
 * @author 不二
 * @email reviewer
 * @date 2020-08-12 11:05:49
 */

@Data
@TableName(value = "t_reviewer")
public class Reviewer implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//审批人id
	@TableField(value = "Reviewer")
	private Integer reviewer;
	//审核顺序
	@TableField(value = "OrderId")
	private Integer orderId;
	//创建人
	@TableField(value = "CreateBy")
	private String createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//修改人
	@TableField(value = "UpdateBy")
	private String updateBy;
	//修改时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "UpdateTime")
	private Date updateTime;
	@TableField(value = "ProcessListId")
	//节点id
	private Integer processListId;
}
